package cn.hanyx.vlog.api.vo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hanyx
 * @since 2021-11-27
 */
public class Points implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "points_id", type = IdType.AUTO)
    private Integer pointsId;

    /**
     * 会员编号
     */
    private String username;

    /**
     * 积分数量
     */
    private Integer quantity;


    public Integer getPointsId() {
        return pointsId;
    }

    public void setPointsId(Integer pointsId) {
        this.pointsId = pointsId;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    @Override
    public String toString() {
        return "Points{" +
        "pointsId=" + pointsId +
        ", username=" + username +
        ", quantity=" + quantity +
        "}";
    }
}
